home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
language
/
dl_exsrc.zoo
/
fsize.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-27
|
151b
|
11 lines
#include <stat.h>
static struct stat S;
long fsize(const char *name)
{
if (stat(name, &S) < 0)
return -1;
else return S.st_size;
}